home > .cgi > Using PWS

 

.home
.news
.sites
.free downloads
.tips & tricks
.web builder
.cgi
.intro to Perl
.your own server
.add a chatroom
.uploading CGI
.bughunting
.using PWS
.smart ass
.resources
.in-depth articles
.magazine
.forums
.contacts
.site map
.IE5 companion
.cgi
Need to supercharge your Web site? Got a database of products, and no way to get them online. You need to harness the power of CGI programming. Using languages such as Perl, ASP and PHP, you can create interactive, intelligent sites. This is part one of the series that appeared in .net magazine. Subscribe now so you don't any of the upcoming articles!
 

Personal Web Server and Perl

Personal Web Server comes with Microsoft's Frontpage, and if you're using Windows 98, you can install it straight from your Windows CD. But it's not compatible with Windows Me, and is requires some tweaking before it will happily run Perl scripts. We don't recommend using it for these tutorials, but running two Web servers on one machine can cause problems.

If you're hooked on Frontpage and don't want to uninstall PWS, our setup program will give you the choice of letting it make some changes to your registry that will enable Perl to work on PWS. But, unlike Xitami, PWS won't automatically recognise Perl scripts for what they are. Instead, it relies on the file extension of the script. These must be either '.pl' or '.cgi'.

Many of the scripts you download won't use these extensions, so you'll have to change not only the file name, but any references to the files in your HTML and even within the Perl script itself. Also be sure to consult both ActivePerl's documentation and PWS's online help for instructions on setting up your CGI bin.

click here for print version of this story.






|.home|.news|.sites|.free downloads|.tips & tricks|.web builder|.in-depth articles|.magazine|.forums|.contacts|.sitemap|
Copyright Future Publishing 2001. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission from Future Publishing is prohibited. If you have any questions relating to the site, please contact the webmaster.
Click here for our Privacy statement.